/**
 * @filename:SlShopPayment slShopPayment
 * @project wallet-sign  V1.0
 * Copyright(c) 2018 BianPeng Co. Ltd. 
 * All right reserved. 
 */
package com.cn.xiaonuo.slbfinances.slborders.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**   
 *  
 * @Description:  店铺结款表
 * @Author:       luy6angyang
 * @CreateDate:   slShopPayment
 * @Version:      V1.0
 *    
 */
@Data
@TableName("sl_shop_payment")
public class SlShopPayment implements Serializable {

	private static final long serialVersionUID = 1650097014466L;
	
	@ApiModelProperty(name = "id" , value = "")
	private Integer id;
	@ApiModelProperty(name = "orderId" , value = "订单ID")
	private Integer orderId;
	@ApiModelProperty(name = "orderPrice" , value = "订单金额")
	private BigDecimal orderPrice;
	@ApiModelProperty(name = "totalAmount" , value = "订单总现金")
	private BigDecimal totalAmount;
	@ApiModelProperty(name = "totalGwj" , value = "订单总购物券")
	private BigDecimal totalGwj;
	@ApiModelProperty(name = "paymentRate" , value = "结款比例")
	private BigDecimal paymentRate;
	@ApiModelProperty(name = "shouldPrice" , value = "应结款金额(现金+劵)")
	private BigDecimal shouldPrice;
	@ApiModelProperty(name = "actualPrice" , value = "实际结款现金，即财务打款金额")
	private BigDecimal actualPrice;
	@ApiModelProperty(name = "paFzMoney" , value = "平安分账金额")
	private BigDecimal paFzMoney;
	@ApiModelProperty(name = "gwjFzMoney" , value = "购物卷金额")
	private BigDecimal gwjFzMoney;
	@ApiModelProperty(name = "paymentUserId" , value = "结款用户ID")
	private Integer paymentUserId;
	@ApiModelProperty(name = "recordUserId" , value = "结款时为财务记录人id,未结款时为结款用户id")
	private Integer recordUserId;
	@ApiModelProperty(name = "payType" , value = "1微信,2支付宝5线下付款10购物劵,11支付宝+购物劵,12微信+购物劵,15微信+线下支付;16支付宝+线下支付 17.银联 18.银联+购物券 101.好收银支付宝 102.好收银微信 103.好收银云闪付")
	private Integer payType;
	@ApiModelProperty(name = "payStatus" , value = "0未结款,1已结款（只支持一次结款）")
	private Integer payStatus;
	@ApiModelProperty(name = "payTime" , value = "结款时间")
	private String payTime;
	@ApiModelProperty(name = "orderPayType" , value = "订单支付类型")
	private Integer orderPayType;
	@ApiModelProperty(name = "gwjFzStatus" , value = "购物卷分账状态0未分1已分")
	private Integer gwjFzStatus;
	@ApiModelProperty(name = "isAdapayStatus" , value = "是否是汇付结算：0不是，1是，-1还未分完")
	private Integer isAdapayStatus;
	@ApiModelProperty(name = "remark" , value = "备注")
	private String remark;
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private String createTime;
	@ApiModelProperty(name = "updateTime" , value = "更新时间")
	private String updateTime;
	@ApiModelProperty(name = "paymentUserName" , value = "商家结款操作员姓名")
	private String paymentUserName;
	@ApiModelProperty(name = "shopId" , value = "店铺ID")
	private Integer shopId;
	@ApiModelProperty(name = "shopName" , value = "店铺名称")
	private String shopName;
	@ApiModelProperty(name = "shopBankNumber" , value = "商家银行卡号")
	private String shopBankNumber;
	@ApiModelProperty(name = "shopBankName" , value = "所属银行")
	private String shopBankName;
	@ApiModelProperty(name = "shopPhone" , value = "商家手机号")
	private String shopPhone;
	@ApiModelProperty(name = "userId" , value = "商家用户id")
	private Integer userId;
	@ApiModelProperty(name = "userName" , value = "商家用户名称")
	private String userName;
	@ApiModelProperty(name = "commission" , value = "平台服务费")
	private BigDecimal commission;
	@ApiModelProperty(name = "shopOpenBank" , value = "开户支行")
	private String shopOpenBank;
	@ApiModelProperty(name = "serviceId" , value = "服务中心id")
	private Integer serviceId;
	@ApiModelProperty(name = "serviceName" , value = "服务中心名称")
	private String serviceName;
	@ApiModelProperty(name = "serialNumber" , value = "订单编号")
	private String serialNumber;
	@ApiModelProperty(name = "orderType" , value = "订单类型（1：一县一品订单 2：普通订单）")
	private Integer orderType;
	@ApiModelProperty(name = "productId" , value = "商品唯一标识符")
	private Integer productId;
	@ApiModelProperty(name = "productName" , value = "商品名称")
	private String productName;
	@ApiModelProperty(name = "costPrice" , value = "成本价格")
	private BigDecimal costPrice;
	@ApiModelProperty(name = "costTotalAmount" , value = "成本总价")
	private BigDecimal costTotalAmount;
	@ApiModelProperty(name = "xjFzMoney" , value = "现金分账金额")
	private BigDecimal xjFzMoney;
	@ApiModelProperty(name = "shopType" , value = "店铺类型（1：普通 2：服务中心 3:加盟店）")
	private Integer shopType;
	@ApiModelProperty(name = "totalHpcGwj" , value = "乡村振兴物劵")
	private BigDecimal totalHpcGwj;
	@ApiModelProperty(name = "totalGzGwj" , value = "一县一品购物券")
	private BigDecimal totalGzGwj;
	@ApiModelProperty(name = "frozenStatus" , value = "冻结状态 1：正常 2:冻结")
	private Integer frozenStatus;
	@ApiModelProperty(name = "shopOrderType" , value = "是否是进货订单 1：正常 2:进货单")
	private Integer shopOrderType;
	@ApiModelProperty(name = "Column_1" , value = "备用字段1")
	private String Column_1;
	@ApiModelProperty(name = "Column_2" , value = "备用字段2")
	private String Column_2;
	@ApiModelProperty(name = "Column_3" , value = "备用字段3")
	private String Column_3;
	@ApiModelProperty(name = "Column_4" , value = "备用字段4")
	private Integer Column_4;
	@ApiModelProperty(name = "Column_5" , value = "备用字段5")
	private Integer Column_5;
	@ApiModelProperty(name = "Column_6" , value = "备用字段6")
	private Integer Column_6;
	@ApiModelProperty(name = "Column_7" , value = "备用字段7")
	private BigDecimal Column_7;
	@ApiModelProperty(name = "Column_8" , value = "备用字段8")
	private BigDecimal Column_8;
	@ApiModelProperty(name = "Column_9" , value = "备用字段9")
	private BigDecimal Column_9;
}
